package edu.zju.gis.dbfg.model.loader;

//import edu.zju.gis.dbfg.model.BaseArgs;
//import edu.zju.gis.dbfg.model.extractor.DataExtractorArgs;
import lombok.Getter;
import lombok.Setter;
import org.kohsuke.args4j.Option;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author Hu
 * @date 2020/1/4
 * 数据入库并行模型参数
 **/
@Getter
@Setter
public class ESDataLoaderArgs extends edu.zju.gis.dbfg.model.BaseArgs {

    private final static Logger logger = LoggerFactory.getLogger(edu.zju.gis.dbfg.model.extractor.DataExtractorArgs.class);
    @Option(name = "-userId", usage = "用户ID", required = true)
    private String userId;

    @Option(name = "-crs", usage = "坐标系信息", required = true)
    private String crs;

    @Option(name = "-input", usage = "输入数据文件夹路径", required = true)
    private String input;

    @Option(name = "-output", usage = "输出es索引，形如 index/type", required = true)
    private String output;

    @Option(name = "-meta", usage = "空间化数据字段信息，ConstructedDataset 的 json 序列化表达", required = true)
    private String meta;



}
